package com.letukeji.web.riverdelictmanagement.controller.api;


import com.github.pagehelper.Page;
import com.letukeji.web.riverdelictmanagement.bean.ApiResult;
import com.letukeji.web.riverdelictmanagement.bean.Book;
import com.letukeji.web.riverdelictmanagement.bean.vo.BookVo;
import com.letukeji.web.riverdelictmanagement.service.BookService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;

/**
 * 登陆与注册接口逻辑
 *
 * @author figol
 * @since 2020/02/11
 */
@RequestMapping("api")
@RestController
public class LoginApiController {

    @RequestMapping("test")
    public ApiResult test() {

       return new ApiResult(200,"成功","");

    }

}